#ifndef BACKGROUND_H_
# define BACKGROUND_H_
#include "game.h"

typedef struct back
{
  int		width;
  int		height;
  int		x;
  int		y;
  char		*picture;
  SDL_Surface	*img1;
  SDL_Surface	*img2;
}		s_back;

int background_end();

int background_update(SDL_Surface	*area);

int background_init(SDL_Surface		*area,
		    int			width,
		    int			height);

#endif /* !BACKGROUND_H_ */
